<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Activiti6流程设计器Demo</title>

</head>
<body>
<h2>
	<a href='/create?name=activiti&key=123456'>绘制流程</a>
</h2>
<div>
	<table width="100%">
	    <tr>
	        <td width="10%">模型编号</td>
	        <td width="10%">版本</td>
	        <td width="20%">模型名称</td>
	        <td width="20%">模型key</td>
	        <td width="40%">操作</td>
	    </tr>
	        <tr th:each="model:${modelList}">
	            <td width="10%" th:text="${model.id}"></td>
	            <td width="10%" th:text="${model.version}"></td>
	            <td width="20%" th:text="${model.key}"></td>
	            <td width="20%" th:text="${model.key}"></td>
	            <td width="40%">
	             <a th:href="@{/editor(modelId=${model.id})}">编辑</a>
	             <a th:href="@{/publish(modelId=${model.id})}">发布</a>
	             <a th:href="@{/revokePublish(modelId=${model.id})}">撤销</a>
	             <a th:href="@{/delete(modelId=${model.id})}">删除</a>
	            </td>
	        </tr>
	</table>
</div>
</body>
</html>